|
SIZE SPRITE
This command will expand or shrink the specified sprite according to the size values provided.
SIZE SPRITE Sprite Number, XSize, YSize
Sprite Number
Integer
The sprite number
XSize
Integer
The command will expand or shrink the specified sprite according to the horizontal size values provided
YSize
Integer
The command will expand or shrink the specified sprite according to the vertical size values provided
This command does not return a value.
You must specify both a horizontal and vertical size when resizing sprites. The size values must be greater than zero of the command will fail. The parameters should be specified using integer values.
cls
load image "man.bmp",1
sprite 1,100,100,1
wait 1000*8
size sprite 1,200,200
do
loop
end
SPRITE Commands Menu
Index
|